package student.aistar.model.dto;

/**
 * 本类用来演示: 封装购物车商品的ID, 和选中商品的数量
 *
 * @author: qinFeng
 * @date: 2021/9/28 19:39
 */
public class CartProductIdAndNumsDTO {
    private String productIds;
    private String nums;

    public CartProductIdAndNumsDTO() {
    }

    public CartProductIdAndNumsDTO(String productIds, String nums) {
        this.productIds = productIds;
        this.nums = nums;
    }

    public String getProductIds() {
        return productIds;
    }

    public void setProductIds(String productIds) {
        this.productIds = productIds;
    }

    public String getNums() {
        return nums;
    }

    public void setNums(String nums) {
        this.nums = nums;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("CartProductIdAndNumsDTO{");
        sb.append("productIds='").append(productIds).append('\'');
        sb.append(", nums='").append(nums).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
